package com.woniu.microuserserver.feignApi;

import com.woniu.microcommonsserver.entity.BuildInfoEntity;
import com.woniu.microcommonsserver.param.ResponseMsg;
import org.springframework.stereotype.Component;

@Component
public class ProFeignApiimpl implements ProFeignApi{
    @Override
    public ResponseMsg findByRank() {
        BuildInfoEntity entity = new BuildInfoEntity();
        entity.setId(1L);
        entity.setName("服务降级");
        return ResponseMsg.builder().code(10000).msg("服务降级").data(entity).build();
    }
}
